package cn.com.baiwei.pojo;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 进货单(PurchaseOrder)实体类
 *
 * @author youngMoney
 * @since 2021-09-22 10:41:56
 * @version 1.0
 */
@ApiModel(value = "PurchaseOrder",description = "进货单")
public class PurchaseOrder implements Serializable {
    private static final long serialVersionUID = 196480155634938370L;
    
	@ApiModelProperty(name = "id",notes = "${column.comment}",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 订货单编号
    */
	@ApiModelProperty(name = "orderId",notes = "订货单编号",dataType = "String",required = true)
    private String orderId;
    /**
    * 供货单位
    */
	@ApiModelProperty(name = "supplier",notes = "供货单位",dataType = "String",required = true)
    private String supplier;
    /**
    * 接收人
    */
	@ApiModelProperty(name = "recipient",notes = "接收人",dataType = "String",required = true)
    private String recipient;
    /**
    * 总金额
    */
	@ApiModelProperty(name = "totalMoney",notes = "总金额",dataType = "Double",required = true)
    private Double totalMoney;
    /**
    * 交货日期
    */
	@ApiModelProperty(name = "deliveryTime",notes = "交货日期",dataType = "Date",required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date deliveryTime;
    /**
    * 录入日期
    */
	@ApiModelProperty(name = "enteringTime",notes = "录入日期",dataType = "Date",required = true)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date enteringTime;
    /**
    * 供货单状态 0为待提交 1为待签收入库 2为已完成
    */
	@ApiModelProperty(name = "orderStatus",notes = "供货单状态 0为待提交 1为待签收入库 2为已完成",dataType = "Integer",required = true)
    private Integer orderStatus;
    /**
    * 备注
    */
	@ApiModelProperty(name = "remark",notes = "备注",dataType = "String",required = true)
    private String remark;
    /**
    * 送货人
    */
	@ApiModelProperty(name = "delivery",notes = "送货人",dataType = "String",required = true)
    private String delivery;

        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }
        
    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }
        
    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }
        
    public Double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(Double totalMoney) {
        this.totalMoney = totalMoney;
    }
        
    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }
        
    public Date getEnteringTime() {
        return enteringTime;
    }

    public void setEnteringTime(Date enteringTime) {
        this.enteringTime = enteringTime;
    }
        
    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }
        
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
        
    public String getDelivery() {
        return delivery;
    }

    public void setDelivery(String delivery) {
        this.delivery = delivery;
    }

}